import org.example.entity.MemberEntity;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/*
  @version: java version 23
 * @Author: 韩学新
 * @description:
 * @date: 2025-04-05 下午3:23
 */
public static void main() {
    ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("spring1.xml");
    MemberEntity memberEntity = classPathXmlApplicationContext.getBean("memberEntity", MemberEntity.class);
    System.out.println(memberEntity);
    classPathXmlApplicationContext.close();
}

